home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Stacks / Hyper Education / Mathematics / Addition / background_2722.txt < prev    next >
Encoding:
Text File  |  1988-04-19  |  9.5 KB  |  396 lines

  1. -- background: 2722 from stack: in
  2. -- bmap block id: 3719
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: Addition Cover
  6.  
  7.  
  8. -- part 2 (button)
  9. -- low flags: 00
  10. -- high flags: 0000
  11. -- rect: left=20 top=144 right=160 bottom=238
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: <10 Vertical
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if bkgnd field "Name" is empty then
  23.     answer "Please enter your name on the form." with "OK"
  24.     exit mouseUp
  25.   end if
  26.   if field "Name" = "Records" then
  27.     go to first card of bkgnd "Users"
  28.     exit mouseUp
  29.   end if
  30.   put bkgnd field "Options"&" 1" into options
  31.   put bkgnd field "Name" into name
  32.   push this card
  33.   go to first card of bkgnd "Vertical Problem <10"
  34.   put "0" into field "Attempts"
  35.   put "0" into field "Correct"
  36.   put "0" into field "Percent"
  37.   put options into field "Options"
  38.   put name into field "Name"
  39.   click at 400,125
  40. end mouseUp
  41.  
  42.  
  43.  
  44. -- part 5 (button)
  45. -- low flags: 00
  46. -- high flags: 0000
  47. -- rect: left=20 top=159 right=176 bottom=254
  48. -- title width / last selected line: 0
  49. -- icon id / first selected line: 0 / 0
  50. -- text alignment: 1
  51. -- font id: 0
  52. -- text size: 12
  53. -- style flags: 0
  54. -- line height: 16
  55. -- part name: <10 Vertical
  56. ----- HyperTalk script -----
  57. on mouseUp
  58.   if bkgnd field "Name" is empty then
  59.     answer "Please enter your name on the form." with "OK"
  60.     exit mouseUp
  61.   end if
  62.   if field "Name" = "Records" then
  63.     go to first card of bkgnd "Users"
  64.     exit mouseUp
  65.   end if
  66.   put bkgnd field "Options"&" 2" into options
  67.   put bkgnd field "Name" into name
  68.   push this card
  69.   go to first card of bkgnd "Horizontal Problem <10"
  70.   put "0" into field "Attempts"
  71.   put "0" into field "Correct"
  72.   put "0" into field "Percent"
  73.   put options into field "Options"
  74.   put name into field "Name"
  75.   click at 400,125
  76. end mouseUp
  77.  
  78.  
  79.  
  80. -- part 6 (button)
  81. -- low flags: 00
  82. -- high flags: 0000
  83. -- rect: left=20 top=175 right=192 bottom=254
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: <10 Vertical
  92. ----- HyperTalk script -----
  93. on mouseUp
  94.   if bkgnd field "Name" is empty then
  95.     answer "Please enter your name on the form." with "OK"
  96.     exit mouseUp
  97.   end if
  98.   if field "Name" = "Records" then
  99.     go to first card of bkgnd "Users"
  100.     exit mouseUp
  101.   end if
  102.   put bkgnd field "Options"&" 3" into options
  103.   put bkgnd field "Name" into name
  104.   push this card
  105.   go to first card of bkgnd "2-Digit No Renaming"
  106.   put "0" into field "Attempts"
  107.   put "0" into field "Correct"
  108.   put "0" into field "Percent"
  109.   put options into field "Options"
  110.   put name into field "Name"
  111.   click at 400,125
  112. end mouseUp
  113.  
  114.  
  115.  
  116. -- part 7 (button)
  117. -- low flags: 00
  118. -- high flags: 0000
  119. -- rect: left=20 top=190 right=207 bottom=283
  120. -- title width / last selected line: 0
  121. -- icon id / first selected line: 0 / 0
  122. -- text alignment: 1
  123. -- font id: 0
  124. -- text size: 12
  125. -- style flags: 0
  126. -- line height: 16
  127. -- part name: 2-Digit Renaming 10's
  128. ----- HyperTalk script -----
  129. on mouseUp
  130.   if bkgnd field "Name" is empty then
  131.     answer "Please enter your name on the form." with "OK"
  132.     exit mouseUp
  133.   end if
  134.   if field "Name" = "Records" then
  135.     go to first card of bkgnd "Users"
  136.     exit mouseUp
  137.   end if
  138.   put bkgnd field "Options"&" 4" into options
  139.   put bkgnd field "Name" into name
  140.   push this card
  141.   go to first card of bkgnd "2-Digit Renaming 10's"
  142.   put "0" into field "Attempts"
  143.   put "0" into field "Correct"
  144.   put "0" into field "Percent"
  145.   put options into field "Options"
  146.   put name into field "Name"
  147.   click at 400,125
  148. end mouseUp
  149.  
  150.  
  151.  
  152. -- part 8 (button)
  153. -- low flags: 00
  154. -- high flags: 0000
  155. -- rect: left=20 top=206 right=223 bottom=283
  156. -- title width / last selected line: 0
  157. -- icon id / first selected line: 0 / 0
  158. -- text alignment: 1
  159. -- font id: 0
  160. -- text size: 12
  161. -- style flags: 0
  162. -- line height: 16
  163. -- part name: 2-Digit Renamong 1's
  164. ----- HyperTalk script -----
  165. on mouseUp
  166.   if bkgnd field "Name" is empty then
  167.     answer "Please enter your name on the form." with "OK"
  168.     exit mouseUp
  169.   end if
  170.   if field "Name" = "Records" then
  171.     go to first card of bkgnd "Users"
  172.     exit mouseUp
  173.   end if
  174.   put bkgnd field "Options"&" 5" into options
  175.   put bkgnd field "Name" into name
  176.   push this card
  177.   go to first card of bkgnd "2-Digit Renaming 1's"
  178.   put "0" into field "Attempts"
  179.   put "0" into field "Correct"
  180.   put "0" into field "Percent"
  181.   put options into field "Options"
  182.   put name into field "Name"
  183.   click at 400,125
  184. end mouseUp
  185.  
  186.  
  187.  
  188. -- part 9 (button)
  189. -- low flags: 00
  190. -- high flags: 0000
  191. -- rect: left=20 top=221 right=238 bottom=234
  192. -- title width / last selected line: 0
  193. -- icon id / first selected line: 0 / 0
  194. -- text alignment: 1
  195. -- font id: 0
  196. -- text size: 12
  197. -- style flags: 0
  198. -- line height: 16
  199. -- part name: 3-Digit No Renaming 
  200. ----- HyperTalk script -----
  201. on mouseUp
  202.   if bkgnd field "Name" is empty then
  203.     answer "Please enter your name on the form." with "OK"
  204.     exit mouseUp
  205.   end if
  206.   if field "Name" = "Records" then
  207.     go to first card of bkgnd "Users"
  208.     exit mouseUp
  209.   end if
  210.   put bkgnd field "Options"&" 6" into options
  211.   put bkgnd field "Name" into name
  212.   push this card
  213.   go to first card of bkgnd "3-Digit No Renaming"
  214.   put "0" into field "Attempts"
  215.   put "0" into field "Correct"
  216.   put "0" into field "Percent"
  217.   put options into field "Options"
  218.   put name into field "Name"
  219.   click at 400,125
  220. end mouseUp
  221.  
  222.  
  223.  
  224. -- part 10 (button)
  225. -- low flags: 00
  226. -- high flags: 0000
  227. -- rect: left=20 top=237 right=254 bottom=213
  228. -- title width / last selected line: 0
  229. -- icon id / first selected line: 0 / 0
  230. -- text alignment: 1
  231. -- font id: 0
  232. -- text size: 12
  233. -- style flags: 0
  234. -- line height: 16
  235. -- part name: 3-Digit Renaming 
  236. ----- HyperTalk script -----
  237. on mouseUp
  238.   if bkgnd field "Name" is empty then
  239.     answer "Please enter your name on the form." with "OK"
  240.     exit mouseUp
  241.   end if
  242.   if field "Name" = "Records" then
  243.     go to first card of bkgnd "Users"
  244.     exit mouseUp
  245.   end if
  246.   put bkgnd field "Options"&" 7" into options
  247.   put bkgnd field "Name" into name
  248.   push this card
  249.   go to first card of bkgnd "3-Digit Renaming"
  250.   put "0" into field "Attempts"
  251.   put "0" into field "Correct"
  252.   put "0" into field "Percent"
  253.   put options into field "Options"
  254.   put name into field "Name"
  255.   click at 400,125
  256. end mouseUp
  257.  
  258.  
  259.  
  260. -- part 11 (button)
  261. -- low flags: 00
  262. -- high flags: E005
  263. -- rect: left=21 top=265 right=287 bottom=87
  264. -- title width / last selected line: 0
  265. -- icon id / first selected line: 0 / 0
  266. -- text alignment: 1
  267. -- font id: 0
  268. -- text size: 12
  269. -- style flags: 0
  270. -- line height: 16
  271. -- part name: Sound
  272. ----- HyperTalk script -----
  273. on mouseUp
  274.   if highlight of bkgnd button "Sound" is true then
  275.     put "Y" into first word of field "Options"
  276.   else
  277.     put "N" into first word of field "Options"
  278.   end if
  279. end mouseUp
  280.  
  281.  
  282.  
  283. -- part 12 (button)
  284. -- low flags: 00
  285. -- high flags: 8006
  286. -- rect: left=109 top=269 right=285 bottom=212
  287. -- title width / last selected line: 0
  288. -- icon id / first selected line: 0 / 0
  289. -- text alignment: 1
  290. -- font id: 0
  291. -- text size: 12
  292. -- style flags: 0
  293. -- line height: 16
  294. -- part name: 5 Problems
  295. ----- HyperTalk script -----
  296. on mouseUp
  297.   set highlight of bkgnd button "5 Problems" to true
  298.   set highlight of bkgnd button "10 Problems" to false
  299.   set highlight of bkgnd button "25 Problems" to false
  300.   put "5" into second word of field "Options"
  301. end mouseUp
  302.  
  303.  
  304.  
  305. -- part 13 (button)
  306. -- low flags: 00
  307. -- high flags: C006
  308. -- rect: left=109 top=284 right=299 bottom=212
  309. -- title width / last selected line: 0
  310. -- icon id / first selected line: 0 / 0
  311. -- text alignment: 1
  312. -- font id: 0
  313. -- text size: 12
  314. -- style flags: 0
  315. -- line height: 16
  316. -- part name: 10 Problems
  317. ----- HyperTalk script -----
  318. on mouseUp
  319.   set highlight of bkgnd button "5 Problems" to False
  320.   set highlight of bkgnd button "10 Problems" to true
  321.   set highlight of bkgnd button "25 Problems" to false
  322.   put "10" into second word of field "Options"
  323.  
  324. end mouseUp
  325.  
  326.  
  327.  
  328. -- part 14 (button)
  329. -- low flags: 00
  330. -- high flags: 8006
  331. -- rect: left=109 top=298 right=314 bottom=211
  332. -- title width / last selected line: 0
  333. -- icon id / first selected line: 0 / 0
  334. -- text alignment: 1
  335. -- font id: 0
  336. -- text size: 12
  337. -- style flags: 0
  338. -- line height: 16
  339. -- part name: 25 Problems
  340. ----- HyperTalk script -----
  341. on mouseUp
  342.   set highlight of bkgnd button "5 Problems" to false
  343.   set highlight of bkgnd button "10 Problems" to false
  344.   set highlight of bkgnd button "25 Problems" to true
  345.   put "25" into second word of field "Options"
  346. end mouseUp
  347.  
  348.  
  349.  
  350. -- part 16 (field)
  351. -- low flags: 01
  352. -- high flags: 0000
  353. -- rect: left=339 top=283 right=301 bottom=410
  354. -- title width / last selected line: 0
  355. -- icon id / first selected line: 0 / 0
  356. -- text alignment: 0
  357. -- font id: 21
  358. -- text size: 12
  359. -- style flags: 0
  360. -- line height: 16
  361. -- part name: Options
  362.  
  363.  
  364. -- part 15 (field)
  365. -- low flags: 00
  366. -- high flags: 2004
  367. -- rect: left=324 top=275 right=305 bottom=476
  368. -- title width / last selected line: 0
  369. -- icon id / first selected line: 0 / 0
  370. -- text alignment: 1
  371. -- font id: 21
  372. -- text size: 14
  373. -- style flags: 256
  374. -- line height: 18
  375. -- part name: Name
  376.  
  377.  
  378. -- part 17 (button)
  379. -- low flags: 00
  380. -- high flags: 0000
  381. -- rect: left=436 top=42 right=81 bottom=477
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 2478 / 2478
  384. -- text alignment: 1
  385. -- font id: 0
  386. -- text size: 12
  387. -- style flags: 0
  388. -- line height: 16
  389. -- part name: About
  390. ----- HyperTalk script -----
  391. on mouseDown
  392.   set visible of card field "About" to not the visible of card field "About"
  393.   set scroll of card field "About" to 0
  394. end mouseDown
  395.  
  396.